from . import main
from flask import render_template, jsonify
from app.main.model import *

@main.route('/')
def index():
    return render_template('main/test.html')

@main.route('/test_chart')
def test_chart():
    '''
    返回测试图 options
    '''
    opt = test_chart_data()
    return jsonify(opt)